//
//  HomeJPRecommendCell.m
//  LocalGoods2
//
//  Created by Feihong Ye on 2018/10/24.
//  Copyright © 2018年 Xiaodong Huang. All rights reserved.
//

#import "HomeJPRecommendCell.h"
#import "Header.h"

@interface HomeJPRecommendCell ()
@property (nonatomic, strong) UIButton *imageButton;
@property (nonatomic, strong) UILabel *titleLabel;
@property (nonatomic, strong) UILabel *nickNameLabel;
@end

@implementation HomeJPRecommendCell
- (instancetype)initWithFrame:(CGRect)frame {
    if (self = [super initWithFrame:frame]) {
        
        [self setUpUI];
    }
    
    return self;
}
- (void)setUpUI {
    self.imageButton = [[UIButton alloc] init];
    _imageButton.userInteractionEnabled = NO;
    [self.imageButton setImage:image(@"YUSHI2") forState:UIControlStateNormal];
    [self.contentView addSubview:_imageButton];
    [_imageButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.right.top.offset(0);
        make.height.offset((SCREAM_WEIGHT-60)/3);
    }];
}
@end
